from pydantic import BaseModel


class OperationResult[T](BaseModel):
    is_success: bool
    data: T | None = None
    error: str | None = None
